//
//  SEGTarget_PersonalInfo.m
//  SEGUhomeStandard
//
//  Created by 梁昆 on 2018/4/8.
//  Copyright © 2018年 刘山. All rights reserved.
//

#import "SEGTarget_PersonalInfo.h"
#import "SEGCompleteGenderInfoViewController.h"
#import "SEGMyLevelViewController.h"
#import "SEGAdressListViewController.h"
#import "SEGMyProfileViewController.h"

@implementation SEGTarget_PersonalInfo




/**
 * 初始化个人资料 -- 完善信息
 * @author Helen
 */
-(UIViewController*)segAction_initSEGCompleteGenderInfoViewController:(NSDictionary*)params{
    SEGCompleteGenderInfoViewController *CompleteGenderInfoVC = [[SEGCompleteGenderInfoViewController alloc]init];
    return CompleteGenderInfoVC;
}

/**
 * 初始化个人资料 -- 帮助中心，等级说明
 * @author Helen
 */
-(UIViewController*)segAction_initSEGMyLevelViewController:(NSDictionary*)params{
    SEGMyLevelViewController *MyLevelVC = [[SEGMyLevelViewController alloc]init];
    MyLevelVC.linkURL = [params valueForKey:@"linkURL"];
    return MyLevelVC;
}

/**
 * 初始化个人资料 -- 配送地址
 * @author Helen
 */
-(UIViewController*)segAction_initSEGAdressListViewController:(NSDictionary*)params{
    SEGAdressListViewController *AdressListVC = [[SEGAdressListViewController alloc]init];
    AdressListVC.showType = [[params valueForKey:@"showType"] integerValue];
    AdressListVC.delegate = [params valueForKey:@"delegate"];
    AdressListVC.addressSelected = [params valueForKey:@"addressSelected"];
    AdressListVC.shouldShowConfirmView = [[params valueForKey:@"shouldShowConfirmView"] integerValue];
    AdressListVC.winnerId = [params valueForKey:@"winnerId"];
    if ([[params allKeys] containsObject:@"channel"]) {
        AdressListVC.channel = [params valueForKey:@"channel"];
    }
    return AdressListVC;
}

/**
 * 初始化 个人资料显示
 * @author Helen
 */
-(UIViewController*)segAction_initSEGMyProfileViewController:(NSDictionary*)params{
    SEGMyProfileViewController *MyProfileVC = [[SEGMyProfileViewController alloc]init];
    return MyProfileVC;
}

@end
